package com.zhejiangzhengyuan.municipal_common.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author lin_ju
 * @create on 2019/11/27
 */
@ApiModel("登录请求封装类")
@Data
public class LoginDto {
  @ApiModelProperty(value = "常为用户名", required = true)
  @NotBlank
  private String username;

  @ApiModelProperty(value = "用户密码", required = true)
  @NotBlank
  private String password;
}
